<!-- 右边栏 -->
<div  style="margin: 0 0 0 20px;box-sizing: border-box;background: #FFFFFF">

	<div class="ch_xtit" style="background: #0587af;color: #FFFFFF;">
		<span>相关推荐</span>
	</div>
	<div class="ch_rlist">
		<ul style="padding: 0;">
			<?php
				$carr=[
				'#ffffff',
				'#0f5fb2',
				'#fe972c',
				'#66ae19',
				'#ae4019',
				'#ae9719',
				];
			?>
			{volist name=":hot($cateid,10)" id="vo"}
			<li style="margin: 15px 0;">
				{if $i<6}
				<i  style="padding: 5px;background: {$carr[$i]};font-weight: bold;color: #FFFFFF">{$i}.</i>
				{else /}
				<i style="padding: 5px;font-size: 20px">{$i}.</i>
				{/if}
				<a style="margin-left: 10px;" href="{:url('index/show',['id'=>$vo.id])}">{$vo.title}</a></li>
			{/volist}
		</ul>
	</div>
</div>

<style>
	.ch_xtit{
		height: 45px;
		line-height: 45px;
		font-size: 18px;
		/*margin-top: 25px;*/
		padding-left: 15px;
	}
	.ch_rlist{
		line-height: 2;
		padding: 0 10px;
	}
	.ch_rlist i{
		height: 20px;
		width: 20px;
		text-align: center;
		display: inline-block;
		line-height: 20px;
	}
	.ch_rlist a{
		font-size: 18px;
	}
</style>